package routers

import (
	"github.com/gin-gonic/gin"
	"go_batch_create_orders/middleware"
)

func ApiRouter(engine *gin.Engine) *gin.Engine {
	//配置路由等策略
	api := engine.Group("/api", middleware.ApiJwtTokenMiddleware())
	{
		api.Any("/", func(context *gin.Context) {

		})
	}
	return engine
}
